home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_084 / audiotools / compiling < prev    next >
Text File  |  1992-05-06  |  3KB  |  90 lines

  1. COMPILING THE AUDIO EXAMPLES
  2. ============================
  3.  
  4. I tried all three versions of C compilers that I have.
  5. The following sequence of commands produced the object
  6. files you have on this disk.  
  7.  
  8. The object files in the directory EXECUTABLE.FILES
  9.  
  10. They are labeled AmigaC.exe
  11.                  ManxC.exe
  12.                  LatticeC.exe
  13.  
  14. ---------------------------------------------------------------------
  15.  
  16. Common to ALL sequences:  (Note: I use a two 3.5 inch floppy system)
  17. -------------------------
  18. copy audiotools.h to ram:
  19. copy globals.c to ram:
  20. copy audiotools.c to ram:
  21.  
  22.  
  23. --------------------------------------------------------------------
  24. If you are using Amiga C          in drive df1:
  25.                  (Lattice C, 3.03)
  26.  
  27.     cd df1:examples
  28.  
  29.     execute makesimple ram:audiotools
  30.  
  31.         rename ram:audiotools to ram:audio.AmiC.exe
  32.  
  33. ---------------------------------------------------------------------
  34. If you are using Manx C, V3.4a (with patch 1.3), Disk 1 in drive df0:
  35.  
  36.        cc +L ram:audiotools.c
  37.  
  38.        ln +A ram:audiotools.o c32.lib
  39.  
  40.        rename ram:audiotools to ram:audio.ManxC.exe
  41.  
  42. ---------------------------------------------------------------------
  43. If you are using Lattice C 3.10 Disk #1 in drive df0:
  44.                             and Disk #2 in drive df1:
  45.  
  46.     cd ram:
  47.  
  48.     lc1 audiotools
  49.     lc2 audiotools
  50.  
  51.     blink from LIB:c.o+audiotools.o to audiotools LIB LIB:lc.lib+LIB:amiga.lib 
  52.            
  53.     rename ram:audiotools to ram:audio.LatC.exe
  54.  
  55.  
  56. -----------------------------------------------------------------
  57. My apologies to C-purists.  The listings in the magazine had
  58. to be crammed down so that they'd fit a 56-column wide line.
  59. If I had known that in advance of submitting them, I would
  60. have watched my line lengths a bit better.
  61.  
  62. Also, there are a few routines here for which there is a
  63. "return(0)" stuffed in at the end, for no apparent reason.
  64. These lines are totally extraneous in most cases and were
  65. simply installed to keep one of the compilers from
  66. issuing any warnings about return value mismatches.
  67.  
  68. This same code compiles with no warnings or errors on
  69. any one of the above named compilers.
  70.  
  71. Please note that I have released these routines into the public
  72. domain, essentially with no promise of support.  However, I
  73. am interested in monitoring what the routines finally become.
  74. I plan to release upgrades on an as-available basis (described
  75. in UPDATE.POLICY), but basically you are on your own.
  76.  
  77. I WOULD like to hear about bugs you may uncover.  I do believe,
  78. however, that I have provided for much of the error handling
  79. you might need.  Because it is public domain, and no support
  80. or guarantees are provided, if you do find bugs, I cannot
  81. promise to be able to fix them, but I'll at least acknowledge
  82. their receipt if you do report them.  If there is a fix, I'll
  83. tell you about it.
  84.  
  85.  
  86. Good luck.
  87.  
  88.  
  89. Rob Peck
  90.